﻿<!--{inc(header.view.html)}-->

<div class="header">    
  
                       <div class="nav">
	                                 <ul id="nav_list">
                                     
                                                 <li><a href="index.php?app=module&act=index"  target="mainframe">模块列表</a></li>
												 <li><a href="#" class="nav_icon"  target="mainframe">模块添加</a></li>


	                                 </ul>
                       </div>
                
</div>



<div id="content">
                   <h1>模板添加</h1>

                  <div>
                                    <div class="tips_show"><img  src="{$web_view_dir}style/images/light.gif" align="absmiddle" /> <b>提示: </b>
                                                                  <span ></span>
                                    </div>


                                 
                                 


<form action="?app=module&act=addpost" method="post" >

<table width="100%" cellspacing="0" cellpadding="4" border="0" align="center"  class="table_style">
<tbody><tr>
	<td width="30%">模块名称:<br><span class="gray">使用汉字，且用来在后台使用</span></td>
	<td><input type="text" maxlength="50" size="50" value="" name="data[name]"></td>
</tr>
<tr>
	<td>模块APP名:<br><span class="gray">使用英文字母</span></td>
	<td><input type="text" maxlength="20"  size="30" name="data[appname]" value=""></td>
</tr>

<tr>
	<td>模块别名:<br><span class="gray">使用汉字，且用来在前台使用</span></td>
	<td><input type="text" maxlength="20"  size="30" name="data[alias]"></td>
</tr>
<tr>
	<td>模板关键字:<br><span class="gray">使用英文字母，且名称与模块APP名相同</span></td>
	<td><input type="text" maxlength="30"  size="30" name="data[keywords]"></td>
</tr>

<tr>
	<td>模块的模板:</td>
	<td>
    	                                 <select name="data[viewname]" >
 		                                       <option  value="">请选择...</option>                                        
                                          <?php foreach((array)$viewdata as $_key => $_value1 ) { ?>                                        
		                                       <option  value="{$_value1}">{$_value1}</option>                                       
		                                   <?php } ?>
	                                     </select>		
	</td>
</tr>

<tr>
	<td>排序:</td>
	<td><input type="text" maxlength="3"  size="3" name="data[sort]"></td>
</tr>
<tr>
	<td>&nbsp;</td>
	<td><input type="submit" value=" 提 交 " class="buton"></td>
</tr>
</tbody></table>
</form>                                 
                                 
                                 
                                 
                                 
                                 
                                 
                                 
                                 
                                 
                                 
                                 

                 </div>

</div>



<!--{inc(footer.view.html)}-->